/*   
Theme Name: Шелест
Description: Тема сделана разработчиком студии "Столица", для гостевых домов "Шелест"
Author: Alreadyfi (VkProfi)
Author URI: https://gitverse.ru/Alreadyfi
Version: 1
*/

:root {
    --colorMain: #3C783C;
    --colorMainHover: #4c9a4c;
    --colorPrimary: #585858;
    --colorLightPrimary: #888;
    --colorPrimaryBlack: #1E1E1E;
    --colorLight: #fafafa;
}
body {
    margin: 0;
    overflow-y: scroll;
}

a {
    font-size: 14px;
}
p {
    font-size: 18px;
}

a, p, h1, h2, h3, h4, h5, h6, input, button, label, li {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--colorPrimary);
    text-decoration: none;
    transition: all 0.2s ease-in;
}
h1 {
    font-weight: 300;
}
p:hover, h1:hover, h2:hover, h3:hover, h4:hover, h5:hover,
h6:hover, input:hover, button:hover, label:hover, li:hover {
    cursor: default;
}

section, header, footer, main {
    justify-content: center;
    display: flex;
}
section {
    width: 100%;
    margin-top: 5em;
}
.container {
    padding-top: 1em;
    width: 900px;
    display: flex;
    flex-direction: column;
    color: rgb(17, 17, 17);
}

.flatpickr-months span {
    width: auto;
}

/* Стили общих элементов */
/* POPUP */

.popup {
    position: fixed;
    transition: all 0.3s ease-in;
    box-shadow: 0 0 20px 2px #0005;
    background-color: #ffffff;

    top: 25%;
    left: 25%;
    width: 50%;
    z-index: 100;
    padding: 1em;
    border-radius: 16px;
    animation: popup 0.5s;
}
.popup::after {
    content: '';
    position: absolute;
    border-radius: 16px;
    z-index: -1;
    background-color: #ffffff;

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: popup 0.6s;
}

.popup h3 {
    text-align: center;
    margin-bottom: 1em;
    color: #000;
}

@keyframes popup {
    from {
        top: -25%
    }
    to {
        top: 25%
    }
}
/* Текст с курсивным шрифтом */
.title {
    color: var(--colorLight);
    font-weight: 300;
}
.title b {
    font-family: 'Liana', sans-serif;
    font-weight: 400;
}